<!-- list -->
<ul class="nav">
    <!--header-->
    <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
        <span translate="aside.nav.HEADER">Navigation</span></li>
    <li ng-if="currentUser.userRights.canMenuPatient">
        <a href="" class="auto">
                    <span class="pull-right text-muted">
                        <i class="fa fa-fw fa-angle-right text"></i>
                        <i class="fa fa-fw fa-angle-down text-active"></i>
                    </span>
            <i class="glyphicon glyphicon-list icon text-success"></i>
            <span class="font-bold" translate="aside.nav.process.patient">Patient</span></a>
        <ul class="nav nav-sub dk">
            <li class="nav-sub-header">
                <a href="">
                    <span class="font-bold" translate="aside.nav.process.patient">Patient</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canManPatient">
                <a ui-sref="app.process.patcase">
                    <span class="font-bold" translate="aside.nav.process.patcase">Patient case</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canManPatient">
                <a ui-sref="app.process.service({service_Id:0, status:'all'})">
                    <span class="font-bold" translate="aside.nav.process.allservices">allservices</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canManPatient">
                <a ui-sref="app.process.service({service_Id:2})">
                    <span class="font-bold" translate="aside.nav.process.scheme">Scheme</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canManPatient">
                <a ui-sref="app.process.service({service_Id:3})">
                    <span class="font-bold" translate="aside.nav.process.screenage">Screenage</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canManPatient">
                <a ui-sref="app.process.service({service_Id:5})">
                    <span class="font-bold" translate="aside.nav.process.appointment">Appointment</span></a>
            </li>
        </ul>
    </li>
    <li ng-if="currentUser.userRights.canMenuProcess">
        <a href="" class="auto">
                    <span class="pull-right text-muted">
                        <i class="fa fa-fw fa-angle-right text"></i>
                        <i class="fa fa-fw fa-angle-down text-active"></i>
                    </span>
            <i class="glyphicon glyphicon-random icon text-success"></i>
            <span class="font-bold" translate="aside.nav.process.process">Process</span></a>
        <ul class="nav nav-sub dk">
            <li class="nav-sub-header">
                <a href="">
                    <span class="font-bold" translate="aside.nav.process.process">Process</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canFilter">
                <a ui-sref="app.process.filter">
                    <span class="font-bold" translate="aside.nav.process.filter">Filter1</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canDiag">
                <a ui-sref="app.process.diagnosis">
                    <span class="font-bold" translate="aside.nav.process.diagnosis">diagnosis</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canAccumulate">
                <a ui-sref="app.process.accumulation">
                    <span class="font-bold" translate="aside.nav.process.accumulation">accumulation</span></a>
            </li>
            <li ui-sref-active="active">
                <a ui-sref="app.process.paymentOperation" ng-if="currentUser.userRights.canPay">
                    <span class="font-bold" translate="aside.nav.process.paymentOperation">payment of operation</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canConfirmByBusiness">
                <a ui-sref="app.process.operation.businessmanager">
                    <span class="font-bold" translate="business.servreq.confirm_Business">confirm by business manager</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canConfirmByCentDoc">
                <a ui-sref="app.process.operation.doctor">
                    <span class="font-bold" translate="business.servreq.confirm_CentDoc">confirm by doctor of center</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canConfirmByOperator">
                <a ui-sref="app.process.operation.operator">
                    <span class="font-bold" translate="business.servreq.confirm_Operator">confirm by operator</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canProcessOperation">
                <a ui-sref="app.process.operation.medicaladmin">
                    <span class="font-bold" translate="business.servreq.confirm_MedicalAdmin">confirm by medical admin</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canEvaluate">
                <a ui-sref="app.process.finish">
                    <span class="font-bold" translate="aside.nav.process.servicefinish">evaluation</span></a>
            </li>
        </ul>
    </li>
    <li ng-if="currentUser.userRights.canMenuDataQuery">
        <a href="" class="auto">
                    <span class="pull-right text-muted">
                        <i class="fa fa-fw fa-angle-right text"></i>
                        <i class="fa fa-fw fa-angle-down text-active"></i>
                    </span>
            <i class="glyphicon glyphicon-search icon text-success"></i>
            <span class="font-bold" translate="aside.nav.query.title">Query</span></a>
        <ul class="nav nav-sub dk">
            <li class="nav-sub-header">
                <a href="">
                    <span class="font-bold" translate="aside.nav.query.title">Search</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canQueryPatient">
                <a ui-sref="app.query.servreqs">
                    <span class="font-bold" translate="aside.nav.query.serviceSearch">Search for services</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canQueryOpeCenTime">
                <a ui-sref="app.query.opecentime">
                    <span class="font-bold" translate="aside.nav.query.opecentimeSearch">Search for Operation Times</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canQueryPayment">
                <a ui-sref="app.query.payment">
                    <span class="font-bold" translate="aside.nav.query.payment">Search Payments</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canQueryFee">
                <a ui-sref="app.query.surgery">
                    <span class="font-bold" translate="aside.nav.query.surger">Fee surgery cost</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canQueryFee">
                <a ui-sref="app.query.feedetails">
                    <span class="font-bold" translate="aside.nav.query.feeDetails">Fee Details</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canQueryFee">
                <a ui-sref="app.query.feesummary">
                    <span class="font-bold" translate="aside.nav.query.feeSummary">Fee Summary</span></a>
            </li>
        </ul>
    </li>
    <li ng-if="currentUser.userRights.canMenuDataManager">
        <a href="" class="auto">
                    <span class="pull-right text-muted">
                        <i class="fa fa-fw fa-angle-right text"></i>
                        <i class="fa fa-fw fa-angle-down text-active"></i>
                    </span>
            <i class="glyphicon glyphicon-th-large icon text-success"></i>
            <span class="font-bold" translate="aside.nav.basic.title">Basic Data</span></a>
        <ul class="nav nav-sub dk">
            <li class="nav-sub-header">
                <a href="">
                    <span class="font-bold" translate="aside.nav.basic.title">Basic Data</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canBrowseHospital">
                <a ui-sref="app.basic.hospital({'filterOpe':'false'})">
                    <span class="font-bold" translate="aside.nav.basic.hospitalManage">Hospital</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canManUser">
                <a ui-sref="app.system.user">
                    <span class="font-bold" translate="aside.nav.system.userManager">User manager</span></a>
            </li>
        </ul>
    </li>
    <li ng-if="currentUser.userRights.canMenuPlatform">
        <a href="" class="auto">
                    <span class="pull-right text-muted">
                        <i class="fa fa-fw fa-angle-right text"></i>
                        <i class="fa fa-fw fa-angle-down text-active"></i>
                    </span>
            <i class="glyphicon glyphicon-cloud icon text-success"></i>
            <span class="font-bold" translate="aside.nav.platform.title">Platform</span></a>
        <ul class="nav nav-sub dk">
            <li class="nav-sub-header">
                <a href="">
                    <span class="font-bold" translate="aside.nav.platform.title">Platform</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canPayPlatform">
                <a ui-sref="app.process.paymentPlatform">
                    <span class="font-bold" translate="aside.nav.platform.paidPlatform">PaidPlatform</span></a>
            </li>
            <li ui-sref-active="active" ng-if="currentUser.userRights.canQueryPlatform">
                <a ui-sref="app.query.paymentPlatform">
                    <span class="font-bold" translate="aside.nav.platform.queryPlatform">queryPlatform</span></a>
            </li>
        </ul>
    </li>
    <li ng-if="currentUser.userRights.canMenuAnalyse">
        <a href="" class="auto">
                    <span class="pull-right text-muted">
                        <i class="fa fa-fw fa-angle-right text"></i>
                        <i class="fa fa-fw fa-angle-down text-active"></i>
                    </span>
            <i class="glyphicon glyphicon-signal icon text-success"></i>
            <span class="font-bold" translate="aside.nav.analysis.title">Analysis</span></a>
        <ul class="nav nav-sub dk">
            <li class="nav-sub-header">
                <a href="">
                    <span class="font-bold" translate="aside.nav.analysis.title">Analysis</span></a>
            </li>
            <li ui-sref-active="active">
                <a ui-sref="app.analysis.login">
                    <span class="font-bold" translate="aside.nav.analysis.login">Login</span></a>
            </li>
        </ul>
    </li>
    <li class="line dk hidden-folded" ng-if="currentUser.userRights.canDevelop"></li>
    <li ng-if="currentUser.userRights.canDevelop">
        <a href="" class="auto">
                    <span class="pull-right text-muted">
                        <i class="fa fa-fw fa-angle-right text"></i>
                        <i class="fa fa-fw fa-angle-down text-active"></i>
                    </span>
            <i class="glyphicon glyphicon-tags icon text-success"></i>
            <span class="font-bold" translate="aside.nav.develop.title">Developer</span></a>
        <ul class="nav nav-sub dk">
            <li class="nav-sub-header">
                <a href="">
                    <span class="font-bold" translate="aside.nav.develop.title">Developer</span></a>
            </li>
            <li ui-sref-active="active">
                <a ui-sref="app.develop_buttons">
                    <span class="font-bold" translate="aside.nav.develop.buttons">Buttons</span></a>
            </li>
            <li ui-sref-active="active">
                <a ui-sref="app.develop_icons">
                    <span class="font-bold" translate="aside.nav.develop.icons">Icons</span></a>
            </li>
            <li ui-sref-active="active">
                <a ui-sref="app.develop_grid">
                    <span class="font-bold" translate="aside.nav.develop.grid">Grid</span></a>
            </li>
            <li ui-sref-active="active">
                <a ui-sref="app.develop_toaster">
                    <span class="font-bold" translate="aside.nav.develop.toaster">Toaster</span></a>
            </li>
        </ul>
    </li>
    <li ng-if="currentUser.userRights.canDevelop">
        <a href="" class="auto">
                    <span class="pull-right text-muted">
                        <i class="fa fa-fw fa-angle-right text"></i>
                        <i class="fa fa-fw fa-angle-down text-active"></i>
                    </span>
            <i class="glyphicon glyphicon-tags icon text-success"></i>
            <span class="font-bold" translate="aside.nav.lab.title">Lab</span></a>
        <ul class="nav nav-sub dk">
            <li class="nav-sub-header">
                <a href="">
                    <span class="font-bold" translate="aside.nav.lab.title">Lab</span></a>
            </li>
            <li ui-sref-active="active">
                <a ui-sref="app.lab.graph">
                    <span class="font-bold" translate="aside.nav.lab.graph">Graph</span></a>
            </li>
            <li ui-sref-active="active">
                <a ui-sref="app.lab.reporter">
                    <span class="font-bold" translate="aside.nav.lab.reporter">Reporter</span></a>
            </li>
            <li ui-sref-active="active">
                <a ui-sref="app.lab.process">
                    <span class="font-bold" translate="aside.nav.analysis.process">Process</span></a>
            </li>
            <li ui-sref-active="active">
                <a ui-sref="app.lab.fileupload">
                    <span class="font-bold" translate="aside.nav.lab.fileupload">Fileupload</span></a>
            </li>
        </ul>
    </li>
    <li class="line dk hidden-folded"></li>
    <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
        <span translate="aside.nav.your_stuff.YOUR_STUFF">Your Stuff</span></li>
    <li>
        <a ui-sref="app.system.userofme">
            <i class="icon-user icon text-success-lter"></i>
            <span translate="aside.nav.your_stuff.PROFILE">Profile</span></a>
    </li>
    <li class="line dk hidden-folded"></li>
</ul>
<!-- / list -->